package com.javase.A211020;

public class Main {
    public static void main(String[] args) {
        BankAccount bankAccount = new BankAccount(123456, 500);
        bankAccount.savemoney(1000);
        System.out.println("存入1000元后，您的余额为：" + bankAccount.getleftmoney());
        bankAccount.getmoney(1000);
        System.out.println("取款1000元后，您的余额为：" + bankAccount.getleftmoney());
    }

}
